<!-- Created by henian.xu on 2018/11/25. -->

<template>
    <div class="error">
        <div class="status">{{ error.statusCode }}</div>
        <div class="message">{{ error.message }}</div>
    </div>
</template>

<script>
export default {
    name: '',
    data() {
        return {};
    },
    props: {
        error: {
            type: Object,
            default() {
                return {};
            },
        },
    },
};
</script>

<style lang="scss">
.error {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #7e7e7e;

    .status {
        font-size: 100px;
        font-weight: bold;
    }
    .message {
        font-size: 20px;
    }
}
</style>
